package org.nicholasjones.radiocontroller.core;

/**
 * User: Nicholas Jones
 * Date: 6/30/13
 * Time: 7:12 PM
 *Define the Calibration related commands to the Receiver device.
 */
public enum CalibrationCommandCode {

    AutoCalibrate("CA"),
    CancelCalibration("C0"),
    DisconnectAntenna("C1"),
    CalibrationLevel1("C2"),
    CalibrationLevel2("C3"),
    CalibrationLevel3("C4"),
    CalibrationLevel4("C5"),
    CalibrationLevel5("C6"),
    CalibrationLevel6("C7");


    private final String commandCode;

    /**
     * enum constructor.
     * @param s - the CommandCode
     */
    CalibrationCommandCode(final String s) {
        this.commandCode = s;
    }

    /**
     * getter.
     * @return String CommandCode.
     */
    public String getCommandCode() {
        return commandCode;
    }
}
